will 'printf' always do its job? [closed]

Posted by gcc on Stack Overflow See other posts from Stack Overflow or by gcc
Published on 2010-05-27T23:16:51Z Indexed on 2010/05/27 23:41 UTC
Read the original article Hit count: 149

Filed under:
|

printf("/something else/"); //without using \n in printf

I know printf() uses a buffer which prints whatever it contains when, in the buffer, "\n" is seen by the buffer. So when we forget to use "\n" in printf ,rarely,buffer will not be emptied.Therefore,printf wont do its job. Am I wrong?

© Stack Overflow or respective owner

Related posts about c

    Related posts about printf